import { createRouter, createWebHashHistory } from "vue-router";
const routes = createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            path: "/",
            name: "Home",
            component: () => import("../components/Home.vue")
        },
        {
            path: "/add",
            name: "Add",
            component: () => import("../components/Add.vue")
        },
        {
            path: "/list",
            name: "List",
            component: () => import("../components/List.vue")
        },
        {
            path: "/update",
            name: "Update",
            component: () => import("../components/Update.vue")
        },
        {
            path: "/home",
            name: "Home",
            component: () => import("../components/Home.vue")
        }
    ]

});
export default routes;